package CommonBusinessLayer;

import CommonDataLayer.TestComunDL;

public class TestComunBL {
    
    private final static TestComunBL _instancia = new TestComunBL();
    
    private TestComunBL() {
    }

    public static TestComunBL getInstancia() {
        return _instancia;
    }
    
    public boolean ValidaConexion(String servidor, String dataBase, String usuario, String clave) throws Exception {
        try {
            return TestComunDL.getInstancia().ValidaConexion(servidor, dataBase, usuario, clave);
        } catch(Exception ex) {
            throw new Exception(ex);
        }
    }
    
}
